﻿namespace NInject.Practice
{
    public class Application
    {
        private readonly IMessageSender _sender;

        public Application(IMessageSender sender)
        {
            _sender = sender;
        }

        public void Run()
        {
            _sender.Send("hello");
        }
    }
}